require(["common", "hash_routie", "coAjax", "queryString", "href"], function(jSouper, hash_routie, coAjax, QueryString, href) {

	coAjax.post(appConfig.recordVisitorInfo, {
		bus_id: "www"
	}, function(result) {
		console.log("访客信息已经记录：", result.result);
	});
	//手机异步分页
	var queryString = new QueryString();
	var mid_bus_id = queryString.get("mid");
	hash_routie({
		html_url: "./pages/mb/",
		js_url: "./js/mb/",
		hash_prefix: "default/:page",
		default_hash: mid_bus_id ? "_build" : "main",//如果有推荐开站的，直接去开站页
		teleporter: "main"
	});
	// //IP与天气
	// $.getScript("http://int.dpool.sina.com.cn/iplookup/iplookup.php? format=js", function(json) { //获取地理位置
	// 	// mycity = remote_ip_info['city'];
	// 	// console.log(mycity)
	// 	var city = remote_ip_info['city'];
	// 	$.getScript("http://php.weather.sina.com.cn/js.php?" + $.param({ //获取天气
	// 		city: city, //城市
	// 		day: 0,
	// 		password: "DJOYnieT8234jlsK"
	// 	}), function(json) {
	// 		App.set("$Cache.extendInfo.weather", city + '\n' + status1 + '\n' + temperature1 + '°');
	// 	});
	// });
})